package com.chinaunicom.common.constants;

/**
 * @author guomenghuai
 * @date 2024/1/8
 * @Description
 */
public class Constants {

    public static final String SUCCESS_CODE = "200";

    public static final Integer DELETED = 1;

    public static final Integer NOT_DELETED = 0;

    public static final Integer ENABLED = 1;

    public static final Integer DISABLED = 0;

    public static final String AUTHORIZE_TOKEN = "yjwl_token";

    public class UserCacheConstants {
        public static final String YJWL_TOKEN_KEY = "yjwl_token_key";

        public static final String YJWL_MEMBER_INFO_KEY = "yjwl_member_info_key_";
    }

    public class RocketMqConstants {
        /**
         * 默认的producer分组
         */
        public static final String SKYWALKING_CLOUD_DEFAULT_PRODUCER_GROUP = "skywalking_cloud_default_producer_group";

        /**
         * 支付订单超时自动关单 consumer 分组
         */
        public static final String PAY_ORDER_TIMEOUT_DELAY_CONSUMER_GROUP = "pay_order_timeout_delay_consumer_group";

        /**
         * 支付订单超时自动关单发送延迟消息 topic
         */
        public static final String PAY_ORDER_TIMEOUT_DELAY_TOPIC = "pay_order_timeout_delay_topic";
    }
}
